﻿<UserControl x:Class="BabySmash7.Shapes.CoolLetter"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    Loaded="UserControl_Loaded">

    <Grid x:Name="LayoutRoot" Width="320" Height="260" RenderTransformOrigin="0.5,0.5">
        <Grid.Resources>
            <Storyboard x:Name="myStoryboard">
                <DoubleAnimation Storyboard.TargetName="LayoutRoot" Storyboard.TargetProperty="(Grid.RenderTransform).(RotateTransform.Angle)" From="0" To="360" Duration="0:0:1" /> <!--RepeatBehavior="Forever"/>-->
            </Storyboard>
            
            <!--<Storyboard x:Name="myStoryboard">
                <DoubleAnimationUsingKeyFrames Storyboard.TargetName="MyAnimatedTranslateTransform" Storyboard.TargetProperty="X" Duration="0:0:10">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="-19.022"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:1" Value="-39.938"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:1.5" Value="-72.237"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:2" Value="-92.046"/>
                </DoubleAnimationUsingKeyFrames>
            </Storyboard>-->
        </Grid.Resources>
        
        <Grid.RenderTransform>
            <RotateTransform x:Name="MyAnimatedTranslateTransform" />
            <!--<TranslateTransform x:Name="MyAnimatedTranslateTransform" X="0" Y="0" />-->
        </Grid.RenderTransform>
        
            <TextBlock x:Name="label1"  Margin="0,0,0,0" Foreground="Black" Opacity="0.8" Text="W" TextWrapping="Wrap" FontSize="360" FontWeight="Bold" HorizontalAlignment="Left" VerticalAlignment="Center" FontFamily="Calibri" />
            <TextBlock x:Name="label2" Margin="0,0,0,0" Text="W" TextWrapping="Wrap" FontSize="350" FontWeight="Bold" HorizontalAlignment="Left" VerticalAlignment="Center" FontFamily="Calibri">
                <TextBlock.Foreground>
					<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
						<GradientStop x:Name="start" Color="LightGray" Offset="0"/>
						<GradientStop x:Name="stop" Color="#FFC61B1B" Offset="1"/>
					</LinearGradientBrush>
				</TextBlock.Foreground>
            </TextBlock>
    </Grid>
</UserControl>
